package com.gxa.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("部门信息的实体")
@JsonIgnoreProperties(value = { "handler" })
public class SysDepartment {
  @ApiModelProperty(name = "depId",notes = "主键",dataType = "Integer",required = false)
  private Integer depId;
  @ApiModelProperty(name = "pid",notes = "上级部门id",dataType = "Integer",required = false)
  private Integer pid;
  @ApiModelProperty(name = "depName",notes = "部门名称",dataType = "String",required = true)
  private String depName;
  @ApiModelProperty(name = "depPho",notes = "电话",dataType = "String",required = false)
  private String depPho;
  @ApiModelProperty(name = "email",notes = "邮箱",dataType = "String",required = false)
  private String email;
  @ApiModelProperty(name = "fax",notes = "传真",dataType = "String",required = false)
  private String fax;
  @ApiModelProperty(name = "depAddr",notes = "部门地址",dataType = "String",required = false)
  private String depAddr;
  @ApiModelProperty(name = "workTime",notes = "工作时间",dataType = "String",required = true)
  private String workTime;
  @ApiModelProperty(name = "sort",notes = "排序",dataType = "Integer",required = false)
  private Integer sort;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required = false)
  private String createTime;
  @ApiModelProperty(name = "updateTime",notes = "更新时间",dataType = "String",required = false)
  private String updateTime;
  @ApiModelProperty(name = "isDeleted",notes = "是否删除",dataType = "Byte",required = false)
  private Byte isDeleted;

//  @ApiModelProperty(name = "sysUserList",notes = "用户列表",dataType = "List",required = false)
//  private List<SysUser> sysUserList;


}
